package com.ddstation.app.api.service;

import com.ddstation.app.api.mapper.OpenApiMapper;
import com.ddstation.app.api.model.MaInvsBaseDrugModel;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.inject.Inject;
import java.util.List;

@Service @Lazy
public class OpenApiServiceImpl implements OpenApiService {

	@Inject private OpenApiMapper openApiMapper;

	@Override
	public List<MaInvsBaseDrugModel> select(String name,String specification,String manufacturer) {
		return openApiMapper.select(name,specification,manufacturer);
	}
}
